﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace SF.WebClient.Controllers
{
    public class TextboxController : BasicController
    {
        public void ViewTextboxCssSource()
        {
            this.WriteSourceCode("/Scripts/jquery-easyui-extensions/textbox/jeasyui.extensions.textbox.css");
        }

        #region setIconCls 设置图标

        public ViewResult SetIconClsDemo()
        {
            return View();
        }

        public PartialViewResult SetIconClsSource()
        {
            return PartialView();
        }

        public void ViewSetIconClsSource()
        {
            this.WriteSourceCode("/Scripts/jquery-easyui-extensions/textbox/jeasyui.extensions.textbox.setIconCls.js");
        }

        public PartialViewResult SetIconClsExplain()
        {
            return PartialView();
        }

        #endregion

        #region setButtonIcon 设置按钮图标

        public ViewResult SetButtonIconDemo()
        {
            return View();
        }

        public PartialViewResult SetButtonIconSource()
        {
            return PartialView();
        }

        public void ViewSetButtonIconSource()
        {
            this.WriteSourceCode("/Scripts/jquery-easyui-extensions/textbox/jeasyui.extensions.textbox.setButtonIcon.js");
        }

        public PartialViewResult SetButtonIconExplain()
        {
            return PartialView();
        }

        #endregion

        #region setButtonText 设置按钮文本

        public ViewResult SetButtonTextDemo()
        {
            return View();
        }

        public PartialViewResult SetButtonTextSource()
        {
            return PartialView();
        }

        public void ViewSetButtonTextSource()
        {
            this.WriteSourceCode("/Scripts/jquery-easyui-extensions/textbox/jeasyui.extensions.textbox.setButtonText.js");
        }

        public PartialViewResult SetButtonTextExplain()
        {
            return PartialView();
        }

        #endregion

        #region setPrompt 设置Prompt值

        public ViewResult SetPromptDemo()
        {
            return View();
        }

        public PartialViewResult SetPromptSource()
        {
            return PartialView();
        }

        public void ViewSetPromptSource()
        {
            this.WriteSourceCode("/Scripts/jquery-easyui-extensions/textbox/jeasyui.extensions.textbox.setPrompt.js");
        }

        public PartialViewResult SetPromptExplain()
        {
            return PartialView();
        }

        #endregion

        #region setRequired 设置是否允许为空

        public ViewResult SetRequiredDemo()
        {
            return View();
        }

        public PartialViewResult SetRequiredSource()
        {
            return PartialView();
        }

        public void ViewSetRequiredSource()
        {
            this.WriteSourceCode("/Scripts/jquery-easyui-extensions/textbox/jeasyui.extensions.textbox.setRequired.js");
        }

        public PartialViewResult SetRequiredExplain()
        {
            return PartialView();
        }

        #endregion

        #region onDestroy 销毁事件

        public ViewResult OnDestroyDemo()
        {
            return View();
        }

        public PartialViewResult OnDestroySource()
        {
            return PartialView();
        }

        public void ViewOnDestroySource()
        {
            this.WriteSourceCode("/Scripts/jquery-easyui-extensions/textbox/jeasyui.extensions.textbox.onDestroy.js");
        }

        public PartialViewResult OnDestroyExplain()
        {
            return PartialView();
        }

        #endregion
    }
}